﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TerminalAddCounty.aspx.cs" Inherits="HNQXYJ.HN_Terminal.TerminalAddCounty" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../CSS/public.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/SimpleContent.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
   <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                    <tr>
                        <td class="rtbg">
                            <span> 添加新终端 &nbsp;》
                              </span>
                        </td>
                    </tr>
                    <tr>
                        <td  class="rbg" valign="top" align="center"  style="padding-top:20px">
                            
                             <table class="dataList" cellpadding="0" cellspacing="0" width="97%">
                                    <caption>添加新终端</caption>
                                      <tr>
                                        <td class="Graybgr" width="10%">终端号码：</td>
                                        <td class="Lightbluebg" width="90%">
                                          <asp:TextBox ID="txtPhone" runat="server" MaxLength="11" CssClass="input150"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="txtPhone" ErrorMessage="*" ValidationGroup="btnxz"></asp:RequiredFieldValidator>
                                          </td>
                                      </tr>
                                      <tr>
                                        <td class="Graybgr" width="10%">终端所在地：</td>
                                        <td class="Lightbluebg" width="90%">
                                           <asp:TextBox ID="txtTownName" runat="server"  CssClass="input150"></asp:TextBox>  
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="txtTownName" ErrorMessage="*" ValidationGroup="btnxz"></asp:RequiredFieldValidator>
                                        </td>
                                      </tr>
                                      <tr>
                                        <td class="Graybgr">负责人：</td>
                                        <td class="Lightbluebg" >
                                            <asp:TextBox ID="txtLeader" runat="server"  CssClass="input150"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                ControlToValidate="txtLeader" ErrorMessage="*" ValidationGroup="btnxz"></asp:RequiredFieldValidator>
                                        </td>
                                      </tr>
                                       <tr>
                                           <td class="Graybgr">联系电话：</td>
                                           <td class="Lightbluebg" >
                                             <asp:TextBox ID="txtLeaderPhone" runat="server"  CssClass="input150"></asp:TextBox>
                                               <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                                   ControlToValidate="txtLeaderPhone" ErrorMessage="*" 
                                                   ValidationGroup="btnxz"></asp:RequiredFieldValidator>
                                        </td> 
                                      </tr>  
                                      <tr>
                                           <td class="Graybgr">在线状态：</td>
                                           <td class="Lightbluebg" >
                                               <select id="txtStatus" runat="server" >
                                                   <option value="离线" selected="selected">离线&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
                                                   <option value="在线">在线</option>
                                               </select>
                                              
                                            </td> 
                                      </tr>
                                       <tr>
                                           <td class="Graybgr">经度：</td>
                                           <td class="Lightbluebg" >
                                             <asp:TextBox ID="txtLng" runat="server"  CssClass="input150"></asp:TextBox>
                                               <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                                   ControlToValidate="txtLng" ErrorMessage="*" ValidationGroup="btnxz"></asp:RequiredFieldValidator>
                                                  <%-- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                   ControlToValidate="txtLng" ErrorMessage="*"  ValidationGroup="btnxz"
                                                   ValidationExpression="^[1-9]+(.[0-9]{1-9})?$"></asp:RegularExpressionValidator>--%>
                                            &nbsp;<a href="http://dev.baidu.com/wiki/static/map/API/tool/getPoint/"  target="_blank" >拾取坐标</a>
                                            </td> 
                                      </tr>     
                                       <tr>
                                           <td class="Graybgr">纬度：</td>
                                           <td class="Lightbluebg" >
                                            <asp:TextBox ID="txtLat" runat="server"  CssClass="input150"></asp:TextBox>
                                               <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                                   ControlToValidate="txtLat" ErrorMessage="*" ValidationGroup="btnxz"></asp:RequiredFieldValidator>
                                                   <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                   ControlToValidate="txtLat" ErrorMessage="*"  ValidationGroup="btnxz"
                                                   ValidationExpression="^[1-9]+(.[0-9]{1-9})?$"></asp:RegularExpressionValidator>--%>
                                            </td> 
                                      </tr> 
                                      <tr>
                                           <td class="Graybgr">设备类别：</td>
                                           <td class="Lightbluebg" >
                                              <select id="txtCatgeory" runat="server" >
                                                   <option value="0" selected="selected">大喇叭&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
                                                   <option value="1">LED电子屏</option>
                                               </select>
                                            </td> 
                                      </tr> 
                                       <tr>
                                           <td class="Graybgr">所属分组：</td>
                                           <td class="Lightbluebg" >
                                               <asp:DropDownList ID="ddGroup" runat="server">
                                               </asp:DropDownList>
                                              <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                                   ControlToValidate="ddGroup" ErrorMessage="*" ValidationGroup="btnxz"></asp:RequiredFieldValidator> --%>
                                            </td> 
                                      </tr>   
                                       <tr>
                                           <td class="Graybgr">补充说明：</td>
                                           <td class="Lightbluebg" >
                                             <asp:TextBox ID="txtNotes" runat="server" TextMode="MultiLine" Height="56px" 
                                                   Width="396px"  Text="无" ></asp:TextBox>
                                            </td> 
                                      </tr>                                           
                                      <tfoot>            
                                        <tr>  
                                           <td colspan="2"  style=" text-align:left;"> &nbsp;&nbsp;&nbsp;
                                               <asp:ImageButton ID="ImageButton1" runat="server"  ImageUrl="../img/fh.gif" 
                                                   onclick="ImageButton1_Click"/>                                          
                                               &nbsp;&nbsp;&nbsp; 
                                               &nbsp;&nbsp;&nbsp; 
                                               <asp:ImageButton ID="add" ImageUrl="../images/xz.gif" runat="server" 
                                                   onclick="add_Click" ValidationGroup="btnxz" /> 
                                           &nbsp;&nbsp; 
                                           </td>
                                        </tr>
                                      </tfoot>
                               </table>
                         </td>
                     </tr>
                     <tr>
                      <td>
                      <asp:Label ID="Label1" runat="server" Text="" style="color: #FF0000"></asp:Label>
                      </td>
                     </tr>
              </table>
    </form>
</body>
</html>
